package com.wangzhixuan.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 组织机构
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-07-04
 */
public class Producttag extends Model<Producttag> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 组织名
     */
	private Long pruductid;
    /**
     * 标签id
     */
	private Long tagid;
	/**
	 * 标签名称
	 */
	@TableField(exist = false)
	private String tagName;
	/**
	 * 是否选中
	 */
	@TableField(exist = false)
	private Integer isSel;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
	@TableField("product_key")
	private String productKey;
	
	
	
	
	public String getTagName() {
		return tagName;
	}

	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	public Integer getIsSel() {
		return isSel;
	}

	public void setIsSel(Integer isSel) {
		this.isSel = isSel;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPruductid() {
		return pruductid;
	}

	public void setPruductid(Long pruductid) {
		this.pruductid = pruductid;
	}

	public Long getTagid() {
		return tagid;
	}

	public void setTagid(Long tagid) {
		this.tagid = tagid;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getProductKey() {
		return productKey;
	}

	public void setProductKey(String productKey) {
		this.productKey = productKey;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
